package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

import java.math.BigInteger;
import java.util.Objects;

/**
 * 玩家身份升级
 */
public class UserTitleUpgrade extends DataObject {

	private long userId;
	private int titleId;
	private long upgradeTime;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if (this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}

	public int getTitleId() {
		return titleId;
	}

	public void setTitleId(int titleId) {
		if(this.titleId != titleId) {
			this.titleId = titleId;
			setUpdateOption();
		}
	}

	public long getUpgradeTime() {
		return upgradeTime;
	}

	public void setUpgradeTime(long upgradeTime) {
		if(this.upgradeTime != upgradeTime) {
			this.upgradeTime = upgradeTime;
			setUpdateOption();
		}
	}
}
